<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Giveda® Embedded Midware: API/gConstDefine.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Giveda® Embedded Midware
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">本文档受《版权法》、《版权公约》保护。深圳技达®版权所有</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>友元</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>宏定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_19ea4dbfe8f0e4681f60b9b97f7b5d11.html">API</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle">
<div class="title">gConstDefine.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>debug/info/warning/error等 log 信息输出<br/>
<a class="el" href="g_const_define_8h.html#aa4ce72354bbcb5d381dd93def6e320b6">ZL_DEBUG()</a> debug信息输出<br/>
<a class="el" href="g_const_define_8h.html#aafc148cee6d6c9e76b4ef417c7056f8f">INFO()</a> info信息输出<br/>
<a class="el" href="g_const_define_8h.html#ad51176fec84ca79bd96163c9cb5a7c32">WARNING()</a> warning信息输出<br/>
<a class="el" href="g_const_define_8h.html#a78e40dfd87f516e322340d249027aea1">ERROR()</a> error信息输出<br/>
 
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="config__giveda_8h.html">config_giveda.h</a>&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdint.h&gt;</code><br/>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a14ded244c47bbba850a8a4be6d16c7e3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&#160;&#160;&#160;&quot;Giveda&quot;</td></tr>
<tr class="separator:a14ded244c47bbba850a8a4be6d16c7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8dc47e3b39c930caed4bfd05b4ba805"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#ac8dc47e3b39c930caed4bfd05b4ba805">FORMAT</a>&#160;&#160;&#160;<a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot;: ZL-DEBUG [%s(), line %d] &quot;</td></tr>
<tr class="separator:ac8dc47e3b39c930caed4bfd05b4ba805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1b09d6630c6c0942f78171e74c1b9d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#aff1b09d6630c6c0942f78171e74c1b9d">ARGS</a>&#160;&#160;&#160;__FUNCTION__, __LINE__</td></tr>
<tr class="separator:aff1b09d6630c6c0942f78171e74c1b9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4ce72354bbcb5d381dd93def6e320b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#aa4ce72354bbcb5d381dd93def6e320b6">ZL_DEBUG</a>(format,...)</td></tr>
<tr class="separator:aa4ce72354bbcb5d381dd93def6e320b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc148cee6d6c9e76b4ef417c7056f8f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#aafc148cee6d6c9e76b4ef417c7056f8f">INFO</a>(format,...)&#160;&#160;&#160;fprintf(stdout, <a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot;: &quot; format, ##__VA_ARGS__)</td></tr>
<tr class="separator:aafc148cee6d6c9e76b4ef417c7056f8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78e40dfd87f516e322340d249027aea1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#a78e40dfd87f516e322340d249027aea1">ERROR</a>(format,...)&#160;&#160;&#160;fprintf(stderr, <a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot; error: [%s(), line %d] &quot; format, <a class="el" href="g_const_define_8h.html#aff1b09d6630c6c0942f78171e74c1b9d">ARGS</a>, ##__VA_ARGS__)</td></tr>
<tr class="separator:a78e40dfd87f516e322340d249027aea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad51176fec84ca79bd96163c9cb5a7c32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#ad51176fec84ca79bd96163c9cb5a7c32">WARNING</a>(format,...)&#160;&#160;&#160;fprintf(stdout,  <a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot; warning: [%s(), line %d] &quot; format, <a class="el" href="g_const_define_8h.html#aff1b09d6630c6c0942f78171e74c1b9d">ARGS</a>, ##__VA_ARGS__)</td></tr>
<tr class="separator:ad51176fec84ca79bd96163c9cb5a7c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1084da008a283ec73cf56ad893728589"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_const_define_8h.html#a1084da008a283ec73cf56ad893728589">NOT_IMP</a>()&#160;&#160;&#160;<a class="el" href="g_const_define_8h.html#a78e40dfd87f516e322340d249027aea1">ERROR</a>(&quot;not implemented yet\n&quot;)</td></tr>
<tr class="separator:a1084da008a283ec73cf56ad893728589"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>debug/info/warning/error等 log 信息输出<br/>
<a class="el" href="g_const_define_8h.html#aa4ce72354bbcb5d381dd93def6e320b6">ZL_DEBUG()</a> debug信息输出<br/>
<a class="el" href="g_const_define_8h.html#aafc148cee6d6c9e76b4ef417c7056f8f">INFO()</a> info信息输出<br/>
<a class="el" href="g_const_define_8h.html#ad51176fec84ca79bd96163c9cb5a7c32">WARNING()</a> warning信息输出<br/>
<a class="el" href="g_const_define_8h.html#a78e40dfd87f516e322340d249027aea1">ERROR()</a> error信息输出<br/>
</p>
<dl class="section author"><dt>作者</dt><dd>明心 </dd></dl>
<dl class="section version"><dt>版本</dt><dd>1.0.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2019-2-6 </dd></dl>
</div><h2 class="groupheader">宏定义说明</h2>
<a class="anchor" id="aff1b09d6630c6c0942f78171e74c1b9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ARGS&#160;&#160;&#160;__FUNCTION__, __LINE__</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a78e40dfd87f516e322340d249027aea1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ERROR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">format, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;fprintf(stderr, <a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot; error: [%s(), line %d] &quot; format, <a class="el" href="g_const_define_8h.html#aff1b09d6630c6c0942f78171e74c1b9d">ARGS</a>, ##__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac8dc47e3b39c930caed4bfd05b4ba805"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FORMAT&#160;&#160;&#160;<a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot;: ZL-DEBUG [%s(), line %d] &quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aafc148cee6d6c9e76b4ef417c7056f8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">format, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;fprintf(stdout, <a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot;: &quot; format, ##__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a14ded244c47bbba850a8a4be6d16c7e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MODULE_NAME&#160;&#160;&#160;&quot;Giveda&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1084da008a283ec73cf56ad893728589"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NOT_IMP</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="g_const_define_8h.html#a78e40dfd87f516e322340d249027aea1">ERROR</a>(&quot;not implemented yet\n&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad51176fec84ca79bd96163c9cb5a7c32"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WARNING</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">format, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;fprintf(stdout,  <a class="el" href="g_const_define_8h.html#a14ded244c47bbba850a8a4be6d16c7e3">MODULE_NAME</a>&quot; warning: [%s(), line %d] &quot; format, <a class="el" href="g_const_define_8h.html#aff1b09d6630c6c0942f78171e74c1b9d">ARGS</a>, ##__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa4ce72354bbcb5d381dd93def6e320b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ZL_DEBUG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">format, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2019年 三月 23日 星期六 14:13:09 , 为 Giveda® Embedded Midware使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
